#ifndef MAINWIDGET_H
#define MAINWIDGET_H

#include <QLabel>
#include <QWidget>
#include <QPushButton>
namespace Ui {
class MainWidget;
}

class MainWidget : public QWidget
{
    Q_OBJECT

public:
    explicit MainWidget(QWidget *parent = 0);
    ~MainWidget();

private:
    Ui::MainWidget *ui;
    QLabel *label;
    QPushButton *firstBtn;
    QPushButton *secondBtn;
signals:
    void mainToFirst();
    void mainToSecond();
private slots:
    void gotoFirst();
    void gotoSecond();
};

#endif // MAINWIDGET_H
